<?php

class GroupController extends Controller
{

  public $layout = 'column2';
  public $defaultAction = 'index';
  /**
   * @var CActiveRecord the currently loaded data model instance.
   */
  private $_model;



  /**
   * Specifies the access control rules.
   * This method is used by the 'accessControl' filter.
   * @return array access control rules
   */
  public function accessRules()
  {
//    return array(
//        array('allow', // allow all users to access 'index' and 'view' actions.
//            'actions' => array('index', 'view', 'list', 'match', 'addmatch', 'rank','rankAjax', 'chart', 'del', 'statistic'),
//            'users' => array('*'),
//        ),
//        array('allow', // allow authenticated users to access all actions
//            'users' => array('@'),
//        ),
//        array('deny', // deny all users
//            'users' => array('*'),
//        ),
//    );
  }

  /**
   * Lists all models.
   */
  public function actionIndex()
  {
//    $members = Members::model()->findAll();

    $this->render('index', array(
//        "members" => $members
    ));
  }


}
